delete object when object from context is NOT null