added tests for update and report