Add --update functionality to image register ui