Updating to new rest module