modify for the rails admin