update to posting to the database