updating the scheme