move fish id updating to own function