move week to own function, update at each route