Fixes to use database to insert small amounts of data instead of saving entire objects containing small changes