changing role db