update, insert implemented with raw post data