added automatic check of updates