updated scoping var on events view