update role database