Updating the main