Update function window popup delete