update saving conditions