update rebuild-scripts