check update state before showing message