fix populate-gazette.ls

add missing attributes and revise function name