Changes made to update task to use loginId