fix template for edit function