added update quantity: contraction and expansion on purchase receival entry