update script for animal