Updated deleteframe