updated show, delete and edit post