add and update some function.
modify some file.
fixing some function.