Updated the controller python script to update the database with new posts.