Updates any Task model without reloading using ajax