refreshing slider and sidebar after saving