checking that device user profile is newer than database before updating
database profile