Edit gallery model and styles