add rough create/update functionality (not all fields work)