updated the references schema