updating rest dispatching method on bootstrap