improve products controller