Fixed bug in partial updates