updaterole
refactor updateRole