update profiles database