adding delete and edit pics