completed functionality for edit species