File would not update properly