reloading after setting cookie for units