add update by single square
fix conflict in groups.js