Changed the const call on update