before content commit