update size of library