beforeUpdate should be defined on BoxGame