Updates file entity.