replace all code and library's file