update width and height vvalues in metadata for the composer