modify the method of refersh and notify