update role API completed