Wasn't calling update correctly