Added tests for Jay.update method