implemented registry update function in client