Update Gallery

Fixed bugs