update version and fix bugs