edit page update

added edit and delete on purchases