Updates dependencies and fixes double render bug