get schemas from db if cache is out of date (fixes rpc bug)