update api and extract log methods
0.6.0