update file entity to revision