integrate front end and back end for update create (kind of)