update roles resource