Script to update space model