Update rest.h