Change db call to updateOrAdd instead of Add