Updating metadata and removing port validatoin