updating compnents