update scheme
update rebuild script