Edit Function and delete function for original post