adding create_or_update method to elastictastic