update library for react addition