change the name and api when create new post