update styles for galllery