changes in Add/edit