Updating library/removing unused ones