fix lint errors and update package