edit delete in proper working form