update product layouts and upgrae to rails 4!