updatebills according to abs(y-n)