update run method