update publication js