Move XelLib updating stuff to component