change role function added