update db and remove delete buttons