add serialize test, refactor find and update methods
add serialize test, refactor find and update methods, merge errors still here in test