add delete portrait function