gallery compile update