add references

migrate node_reference and user_reference