rename hooks to routes