update url on options not params to prevent override
added tests for passing url in options