Upadting the file