update to gallery call