Doing upsert instead of add