pictures update method
gallery update metadata feature
pictures refactoring