updated predator-prey model