refactor stats updating to a single controller admin controller action