Fixed incorrect array assignments for buildings

Building price updater works now!