add junit libs
Fix bug update state