update plugin for rails 3.2