add merchant edit function