apply to updated contents