updating references based on new usage and new library