Save correct and formatted url field value