add updateAt and update methods