Updating colors for Whitecaps and format error in json