modify register database