updated edit popup