update to gallery html