change url and method of clear mesage call