update sketch