Updating writers and main program