Update an rebuild resources