update ag lib and reflect API changes on the notifierService
fix the flow in case of refresh