add ability to update means