Updated logic methods to update(closes #21)

Fixed tests