update pretty lame code