added test but updating an eneity is still dailing