update UI init method