added autocomplete
recource definition changed