Holding function for attr edit