Added Reference editing and deleting. References should be completed now