fixed a type in update form