Update last post and index