updated frame mockup and eachFrame