Update to post class on index