An improved model for a self-pulsing ring laser