Add request for current location before adding the palettes to the global array and write info if database if is not updated.
Update formating