add, remove, and replace entries