add annotations to variable metadata