fix .h file not updated after renaming a method