renamed mainfile
updating prices and saving them into a DB