Added Update method to component