Fixed bug where it wouldn't update properly, just added a temp array to fix.