updates: files, make them compatible for rails 4