Update library

use a real array, to avoid creating task before registering new users