update some common libs and rewrite the project related file.