update file in server