Added db error code explanation to docs.md
The lastonline database field now gets updated