Pseudo-atomic updates for levelup.