change url dynamically