on focus stops calling update