edit device about transaction function