prepare content element edit