Update amisharp.cpp