resource edit