Added logic to do post actions trought jquery ajax utility.
Added update logic to repository.