Update Kernel.Updater.class.php

Added a lock