add library to local