adding  document.location.reload(true) after insert url