implement posting/setting values in the db