adding ability to delete and update in php