- middle of fixing bugs for update method