Update resource spec