add update and delete function
add mysql test