Edit gallery task