added edit,update and delete methods
making edit form functional
added edit and delete links
added routes for editing, updating and deleting product types