add position field to category