fixes in cascade mapping to delete and update child documents