updated redirect and host url