changes url change init to true