finish animal edit related function

this version of edit can only edit all the value in table "animal" and
table "animal_name", except the id number.