rebuilt routes restfully