update plot method