Function to change an allready made URL