update file handler