update init and config