simple updates
fixed silly empty array bug