update REST with newer code from RT