add controls sample ,update layout sample