edit and delete resources