use 2-way binding for edit