Fix for update buffer being overwritten, instead of being appended to