update posts and refine some file and code