mark parent as dirty the proper way