References and diff updates