Updates to gallery widget