create and update init file