[db] flush lookup cache on db version change; bump version