Implemented role update authentication check and persistence