Update metadata method, exclude static mode from normal metadata url