Change function name to updateOrCreate