Update library and fixed bug when submit new post.