update createAccount and head