delete post, update index and add css