update week dynamically