products controller updated