adding functionality of change url