Issue #2, changed update method to respond with data