udpate options def