update the init part