upgrade lib settings, remove samples