update ProductsController and file upload in imperaiv