updates - attempt to sort out ajax redirect