update defaults and metadata