combined update and create into insert in datomic.clj
create works correctly when id is nil
edits work: still need to test fully
updates working and redirecting correctly