change mode to modify