Updating Buffer