MultiGen::saveUserStates

Saves user states into database if something changed