dbObject['types'] updated when posts pushed to db