change pointers to library