update init number of posts