Changes in gallery api