add override of update