update to ver 0.4 with new library