update functionality working end to end and test files moved to test folder