update style for safari