update request before write