Modify populate query for office model