update source for external lib