Add update method to queue-memory
Add handleError function
Fixes #13

Add fail method
handleError handles errors properly
handleError calls fail() after 3 errors