add method url to config