Populate position_id field