makes so database is not updated if uplegRange is null
fixes log msg
adds a distance to planet resource at /planets.json