Consolidate create & update into one method with the same functionality