Edit and new resource