when update button pressed update packages if select some divece