delete post function added