handling edits for completed surveys