Added exists()
Added delets to structs
Added update and delete tests