update signature algorithm