removing unnecessary updates