To edit any role (except for system roles), click on the button with the gear icon:
Unlike when creating a role, you cannot change the type of the role level when editing it, and after you make all changes, they are saved by clicking the Update button:
When editing a role, you can also Delete it (the delete action requires confirmation).