Add updateType param to the update operation