Updates class