update layout of demo