check update when openning opion modal