fixing partial updates