Structure updates
Housekeeping when doing backups
Added more features to the update function
Trimmed some code down a bit