work on gallery update