Bug in update