update mecahnic file