Update refs and such.