added url and notes handling in form