ADDED: methods for updating nonce state

Added an update method for both nonces. Also, fixed up all the other methods storing the numbers object in the db to also store the nonce state so that it would be actually saved.
MODIFIED: documentation.

Fixing up documenation that was not done.