update mechanic file