fix compatibility issues with update on devise and activeadmin