Study: Brooklyn Public Library needs $228 million for upkeep