Update url for posts api