getting library to refresh on save.