updated demos to use ready