only update file id if not none