update rests view