update carousel and element