added edit method to userrole library