update the statement