updating data-ajax and data-transition