added gallery edit