refresh on device ready event