update library&fixed somgthing