Set metadata by IP