Bug in update fixed