props windows disappears when deleting objects, and updates when inserting new object