save product in database