Change _update_published_status function to use node_load