Index error fix in cross rule
Adeed update buttons method