Fixing editing in admin ui