added checking of updates