fix bug when updating through admin