Adds update functionality and adds form to task table