updating 01 and 02 to rails 4 version