Finish update work

Added the decrement and increment functions