format code and update version