trigger for stepcount table