update code to filter draft in draft_route.js