update includes, main and registration