edit on load and url