Update method partially works, yet viewmodel needs some refactoring since it creates a new element instead of updating the current one
update method is working correctly, temporary fix for updating the viewmodel instead of adding it (kinda makes the time saved on top of the method redundant)
build files update