update file attr