Updated the updateInfo and updateDeadline functions.