expanded edit functionality