update layout weight for demo