Add create or update method