Change lines to use proper enter,update,exit
Attempt at filtering series based on index