updates list of spaces