update index page and posts