update records on PUT